package com.fanghaoran.entity;

/**
 * @Author: win11
 * @Date: 2023/03/30/19:41
 * @Description: 用于展示用户间可以互相查看的用户信息类(部分个人信息 + 学习信息)
 */
public class InfoToDisplay {
    private String username;
    private String gender;
    private String nickname;
    private int wordAccount;
    private int studyTime;/**
     * 连续打卡天数
     */
    private int clockDays;

    public InfoToDisplay() {
    }

    public InfoToDisplay(String username, String gender, String nickname, int wordAccount, int studyTime, int clockDays) {
        this.username = username;
        this.gender = gender;
        this.nickname = nickname;
        this.wordAccount = wordAccount;
        this.studyTime = studyTime;
        this.clockDays = clockDays;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username 用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender 性别
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return nickname
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 设置
     * @param nickname 昵称
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * 获取
     * @return wordAccount
     */
    public int getWordAccount() {
        return wordAccount;
    }

    /**
     * 设置
     * @param wordAccount 单词数
     */
    public void setWordAccount(int wordAccount) {
        this.wordAccount = wordAccount;
    }

    /**
     * 获取
     * @return studyTime
     */
    public int getStudyTime() {
        return studyTime;
    }

    /**
     * 设置
     * @param studyTime 学习时间
     */
    public void setStudyTime(int studyTime) {
        this.studyTime = studyTime;
    }

    /**
     * 获取
     * @return clockDays
     */
    public int getclockDays() {
        return clockDays;
    }

    /**
     * 设置
     * @param clockDays 打卡天数
     */
    public void setclockDays(int clockDays) {
        this.clockDays = clockDays;
    }

    @Override
    public String toString() {
        return "InfoToDisplay{username = " + username + ", gender = " + gender + ", nickname = " + nickname + ", wordAccount = " + wordAccount + ", studyTime = " + studyTime + ", clockDays = " + clockDays + "}";
    }
}
